-- GENERATED SPELL FOR [Forsaken Deckhand] --


function spell0_23982(pUnit, Event) --@Kidney Shot,n/a--
pUnit:FullCastSpellOnTarget(49616,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23982', 4307, 1)
end

function Sorts_23982(pUnit, Event)
local choix_sorts_23982 = math.random(0, 0)
if choix_sorts_23982 == 0 then
pUnit:RegisterEvent('spell0_23982', 1, 1)
end
end

function mob23982_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23982', math.random(1500, 3000), 1)
end

function mob23982_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23982_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23982_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23982, 1, 'mob23982_Action')
RegisterUnitEvent(23982, 2, 'mob23982_Leave')
RegisterUnitEvent(23982, 3, 'mob23982_Kill')
RegisterUnitEvent(23982, 4, 'mob23982_Die')
